home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn User: China
/
Acorn User China CD-ROM (UK) (Disc B)
/
Acorn User China CD-ROM (UK) (Disc B).bin
/
STUTTGART
/
FROMUTS
/
UNIXLIB37B
/
test_c_popentest
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1992-02-09
|
192 b
|
15 lines
#include <stdlib.h>
#include <stdio.h>
int main()
{
FILE *f;
char b[256];
if (!(f = popen("min","r"))) { perror("popen()"); exit(1); }
while (fgets(b,256,f)) fputs(b,stdout);
pclose(f);
}